import Login from "@/components/login"; //登录
import materilsLogin from "@/components/materilsLogin"; //登录

import Home from "@/components/Home"; //首页
import mains from "@/components/mains";
import FirstPage from "../components/pages/Indent/shouYe/FirstPage"; //首页
//用户-----
import userList from "@/components/pages/user/userList";
import employee from "../components/pages/user/employee";

//分享中心-----
// 排名返现
import rankingCashback from "../components/pages/SharingCenter/rankingCashback.vue";
// 分享公告
import shareAnnouncement from "../components/pages/SharingCenter/shareAnnouncement.vue";
// 分享返现
import shareCashback from "../components/pages/SharingCenter/shareCashback.vue";
// 提现记录
import withdrawalRecords from "../components/pages/SharingCenter/withdrawalRecords.vue";
// 返现统计
import cashbackStatistics from "../components/pages/SharingCenter/cashbackStatistics.vue";

// 平台--商品推广
import productPromotion from "../components/pages/platformPromotion/productPromotion.vue"
// 订单数据
import orderData from "../components/pages/order/sen/orderData";
//订单管理
import Index from "../components/pages/order/sen/index.vue";
//订单列表
import OrderList from "../components/pages/order/list/OrderList.vue";
//售后
import afterSales from "../components/pages/order/list/afterSales.vue";
//商品-----
import Question from "@/components/pages/Questionbank/son/question";
//商品管理-----
import QuestionList from "@/components/pages/Questionbank/son/QuestionList";
// 商品分类
import goodSort from "../components/pages/Questionbank/son/goodSort";
import goodSorts from "../components/pages/Questionbank/son/goodSorts";
// 商品品牌
import goodsBrand from "../components/pages/Questionbank/son/goodsBrand";
// 库存盘点
import inventory from "../components/pages/Questionbank/son/inventory";
// 订单管理
import orderList from "@/components/pages/order/sen/orderList";
//售后申请
import shouhou from "../components/pages/order/sen/shouhou";
//退货单
import returnGoods from "../components/pages/order/sen/returnGoods";
// 换货单
import huanhuo from "../components/pages/order/sen/huanhuo";
// 未完成订单
import backlog from "../components/pages/order/sen/backlog";
//报表统计
import Statistics from "@/components/pages/Statistics/Statistics";
//财务---支付单
import payOrder from "../components/pages/finance/payOrder";
//财务---退款单
import exitOrder from "../components/pages/finance/exitOrder";
// 财务---账户资金管理
import accountFunds from "../components/pages/finance/accountFunds";
// 财务----开票管理
import invoice from "../components/pages/finance/invoice";
//财务----提现列表
import tixian from "../components/pages/finance/tixian";
// 财务---售出商品一览表
import sellinggoods from "../components/pages/accounting/stn/sellinggoods";
// 财务---售出商品一览表详情
import goodsdetail from "../components/pages/accounting/stn/goodsdetail";
// 财务---售出票务一览表
import shuipiao from "../components/pages/accounting/stn/shuipiao";
// 财务---售出票务一览表详情
import shuipiaodetail from "../components/pages/accounting/stn/shuipiaodetail";
// 财务---交易流水
import moneyflow from "../components/pages/accounting/stn/moneyflow";
// 财务---资产总览
import waterAssetOverview from "../components/pages/accounting/stn/waterAssetOverview";
// 水站--账号
import waterAccount from "../components/pages/supermarket/waterAccount"
// 水站--角色
import waterRole from "../components/pages/supermarket/waterRole"


//设置---系统设置
import xitongshezhi from "../components/pages/Settings/xitongshezhi";
//设置---菜单管理
import menu from "../components/pages/Settings/menu";
//设置---账号管理
import zhangHao from "../components/pages/Settings/zhangHao";
// 设置---管理员设置
import Administrator from "../components/pages/Settings/Administrator";
// 设置---角色列表
import roleList from "../components/pages/Settings/roleList";
// 用户---员工数据
import employeeDate from "../components/pages/user/employeeDate";

// 设置---公告列表
import announcementList from "../components/pages/Settings/announcementList";
// 商品---材料分类
import materialsSort from "../components/pages/Questionbank/son/materialsSort";
// 商品---材料列表
import materialsList from "../components/pages/Questionbank/son/materialsList";
// 商品---主材列表
import principalList from "../components/pages/Questionbank/son/principalList";
// 商品---主材分类
import principalSort from "../components/pages/Questionbank/son/principalSort";
// 水站---客服列表
import waterKeFuList from "../components/pages/Indent/waterKeFu/waterKeFuList";
// 水站---客服历史会话
import waterKeFuHistory from "../components/pages/Indent/waterKeFu/waterKeFuHistory";
//员工管理
import commodity from "../components/pages/Questionbank/son/commodity.vue";
//员工评价
import evaluate from "../components/pages/Questionbank/son/evaluate.vue";
//员工建议
import suggest from "../components/pages/Questionbank/son/suggest.vue";
//票务
import tickets from "../components/pages/ticket/serkey/tickets.vue";
//票务管理
import management from "../components/pages/ticket/serkey/management.vue";
//水站财务
import accounting from "../components/pages/accounting/stn/accounting.vue";
//员工提成统计
import pushmoney from "../components/pages/accounting/stn/pushmoney";
//佣金管理
import commission from "../components/pages/accounting/stn/commission.vue";
//售票统计
import business from "../components/pages/accounting/stn/business";
//空桶押金
import pledge from "../components/pages/accounting/stn/pledge";
// 财务汇总
import waterSummary from "../components/pages/accounting/stn/waterSummary";
//定制水
import customization from "../components/pages/customizations/customization.vue";
//定制水订单
import orderForm from "../components/pages/customizations/orderForm.vue";
// 商品单位

//平台建材
import platform from "../components/pages/platform/platform.vue";
import historytalk from "../components/pages/platform/historytalk.vue";
import character from "../components/pages/platform/character.vue";
// 账户管理
import accountManagement from '../components/pages/platform/accountManagement.vue';
//建材
import questUser from "../components/pages/Indent/list/questoke.vue";
// 建材首页
import jianCaiMain from "../components/pages/Indent/shouYe/jianCaiMain.vue";
// 建材筛选模板 
import shaiXuan from "../components/pages/Indent/shouYe/shaiXuan.vue";
// 建材轮播图
import carouselChart from "../components/pages/Indent/shouYe/carouselChart.vue";
// 建材客服列表
import buildingMaterialsKeFuList from "../components/pages/Indent/buildingMaterialsKeFu/buildingMaterialsKeFuList";
// 建材客服历史会话
import buildingMaterialsKeFuHistory from "../components/pages/Indent/buildingMaterialsKeFu/buildingMaterialsKeFuHistory";
//订单管理
//主材商家订单
import principalUser from "../components/pages/Indent/list/principalUser.vue";
//主材商家退款订单
import reimburse from "../components/pages/Indent/list/reimburse.vue";
//辅材商家订单
import auxiliary from "../components/pages/Indent/list/auxiliary.vue";
//辅材商家退款订单
import refund from "../components/pages/Indent/list/refund.vue";
//商品管理
import merchandise from "../components/pages/Indent/merchandises/merchandise.vue";
//商品分类
import BrandPool from "../components/pages/Indent/BrandPools/BrandPool.vue";
//商品推广
import tuiGuang from "../components/pages/Indent/merchandises/tuiGuang.vue";
//分类
import building from "../components/pages/Indent/buildings/building.vue";
//商家管理
import merchant from "../components/pages/Indent/merchants/merchant.vue";


//评价管理--商品评价
import evaluation from "../components/pages/Indent/evaluation/evaluation.vue";
//评价管理--商家评价
import businessEvaluation from "../components/pages/Indent/evaluation/businessEvaluation.vue";
//运费设置
import freight from "../components/pages/Indent/freight/freight.vue";
//财务报表--主材商家
import zhuCai from "../components/pages/Indent/jianCaiMoney/zhuCai.vue";
//财务报表--辅材商家
import fuCai from "../components/pages/Indent/jianCaiMoney/fuCai.vue";
//财务报表--五金店
import wuJin from "../components/pages/Indent/jianCaiMoney/wuJin.vue";
//财务报表--产品定制
import chanPin from "../components/pages/Indent/jianCaiMoney/chanPin.vue";
//财务报表--交易流水
import jianCaiJYLS from "../components/pages/Indent/jianCaiMoney/jianCaiJYLS.vue";
//财务报表--资产总览
import jianCaiZCZL from "../components/pages/Indent/jianCaiMoney/jianCaiZCZL.vue";
//财务报表--财务汇总
import jianCaiSummary from "../components/pages/Indent/jianCaiMoney/jianCaiSummary.vue";

// 主材商家--客服管理
import mainKeFu from "../components/pages/mainMaterials/mainKeFu/mainKeFu.vue";
// 主材商家--历史会话
import mainHistory from "../components/pages/mainMaterials/mainKeFu/mainHistory.vue";
// 主材商家--及时会话
import mainTimely from "../components/pages/mainMaterials/mainKeFu/mainTimely.vue";
// 主材商家--订单列表
import mainOrderList from "../components/pages/mainMaterials/mainOrder/mainOrderList.vue";
// 主材商家--售后管理
import mainAfterSales from "../components/pages/mainMaterials/mainOrder/mainAfterSales.vue";
// 主材商家--商品管理
import mainCommodity from "../components/pages/mainMaterials/mainCommodity/mainCommodity.vue";
// 主材商家--门店管理
import mainStore from "../components/pages/mainMaterials/mainCommodity/mainStore.vue";
// 主材商家--评价管理
import mainEvaluate from "../components/pages/mainMaterials/mainCommodity/mainEvaluate.vue";
// 主材商家--账号管理
import mainAccount from "../components/pages/mainMaterials/mainCommodity/mainAccount.vue";
// 主材商家--角色管理
import mainRole from "../components/pages/mainMaterials/mainCommodity/mainRole.vue";
// 主材商家--商品售出一览表
import mainSellingGoods from "../components/pages/mainMaterials/mainFinance/mainSellingGoods.vue";
// 主材商家--商品售出一览表详情
import mainGoodsDetail from "../components/pages/mainMaterials/mainFinance/mainGoodsDetail.vue";
// 主材商家--交易流水
import mainTransaction from "../components/pages/mainMaterials/mainFinance/mainTransaction.vue";
// 主材商家--资产总览
import mainProperty from "../components/pages/mainMaterials/mainFinance/mainProperty.vue";

// 五金店--客服管理
import hardwareKeFu from "../components/pages/hardwareStore/hardwareKeFu/hardwareKeFu.vue";
// 五金店--历史会话
import hardwareHistory from "../components/pages/hardwareStore/hardwareKeFu/hardwareHistory.vue";
// 五金店--及时会话
import hardwareTimely from "../components/pages/hardwareStore/hardwareKeFu/hardwareTimely.vue";
// 五金店--订单管理
import hardwareOrderList from "../components/pages/hardwareStore/hardwareOrder/hardwareOrderList.vue";
// 五金店--售后管理
import hardwareAfterSales from "../components/pages/hardwareStore/hardwareOrder/hardwareAfterSales.vue";
// 五金店--商品管理
import hardwareCommodity from "../components/pages/hardwareStore/hardwareCommodity/hardwareCommodity.vue";
// 五金店--门店管理
import hardwareStore from "../components/pages/hardwareStore/hardwareCommodity/hardwareStore.vue";
// 五金店--评价管理
import hardwareEvaluate from "../components/pages/hardwareStore/hardwareCommodity/hardwareEvaluate.vue";
// 五金店--账号管理
import hardwareAccount from "../components/pages/hardwareStore/hardwareCommodity/hardwareAccount.vue";
// 五金店--角色管理
import hardwareRole from "../components/pages/hardwareStore/hardwareCommodity/hardwareRole.vue";
// 五金店--商品售出一览表
import hardwareSellingGoods from "../components/pages/hardwareStore/hardwareFinance/hardwareSellingGoods.vue";
// 五金店--商品售出一览表详情
import hardwareGoodsDetail from "../components/pages/hardwareStore/hardwareFinance/hardwareGoodsDetail.vue";
// 五金店--交易流水
import hardwareTransaction from "../components/pages/hardwareStore/hardwareFinance/hardwareTransaction.vue";
// 五金店--资产总览
import hardwareProperty from "../components/pages/hardwareStore/hardwareFinance/hardwareProperty.vue";

// 产品定制--客服管理
import productKeFu from "../components/pages/productCustomization/productKeFu/productKeFu.vue";
// 产品定制--客服管理历史会话
import productHistory from "../components/pages/productCustomization/productKeFu/productHistory.vue";
// 产品定制--客服管理及时会话
import productTimely from "../components/pages/productCustomization/productKeFu/productTimely.vue";
// 产品定制--订单列表
import productOrderList from "../components/pages/productCustomization/productOrder/productOrderList.vue";
// 产品定制--售后管理
import productAfterSales from "../components/pages/productCustomization/productOrder/productAfterSales.vue";
// 产品定制--商品管理
import productCommodity from "../components/pages/productCustomization/productCommodity/productCommodity.vue";
// 产品定制--门店管理
import productStore from "../components/pages/productCustomization/productCommodity/productStore.vue";
// 产品定制--评价管理
import productEvaluate from "../components/pages/productCustomization/productCommodity/productEvaluate.vue";
// 产品定制--账号管理
import productAccount from "../components/pages/productCustomization/productCommodity/productAccount.vue";
// 产品定制--角色管理
import productRole from "../components/pages/productCustomization/productCommodity/productRole.vue";
// 产品定制--售出商品一览表
import productSellingGoods from "../components/pages/productCustomization/productFinance/productSellingGoods.vue";
// 产品定制--交易流水
import productTransaction from "../components/pages/productCustomization/productFinance/productTransaction.vue";
// 产品定制--资产总览
import productProperty from "../components/pages/productCustomization/productFinance/productProperty.vue";

// 工长套餐
import foremanSet from "../components/pages/foremanSet/foremanSet.vue";
import foremanMoney from "../components/pages/foremanSet/foremanMoney.vue";
// 平台财务报表--财务汇总
import financialSummary from "../components/pages/financialStatements/financialSummary";
// 平台财务报表--压缩图片
import baseImg from "../components/pages/financialStatements/baseImg";
// 平台财务报表--商家抽成
import merchantCommission from "../components/pages/financialStatements/merchantCommission";
// 用户消费统计
import userConsumptionStatistics from "../components/pages/financialStatements/userConsumptionStatistics";

// 辅材商家--客服管理
import fuKeFu from "../components/pages/auxiliaryMaterials/auxiliaryKeFu/fuKeFu.vue";
// 辅材商家--客服历史会话
import fuHistory from "../components/pages/auxiliaryMaterials/auxiliaryKeFu/fuHistory.vue";
// 辅材商家--订单管理
import fuOrderList from "../components/pages/auxiliaryMaterials/auxiliaryOrder/fuOrderList.vue";
// 辅材商家--订单售后管理
import fuAfterSales from "../components/pages/auxiliaryMaterials/auxiliaryOrder/fuAfterSales.vue";
// 辅材商家--订单拍照下单
import fuPhoto from "../components/pages/auxiliaryMaterials/auxiliaryOrder/fuPhoto.vue";
// 辅材商家--订单手写下单
import fuHandWriting from "../components/pages/auxiliaryMaterials/auxiliaryOrder/fuHandWriting.vue";
// 辅材商家--店铺信息
import fuShop from "../components/pages/auxiliaryMaterials/auxiliarySingle/fuShop.vue";
// 辅材商家--评价管理
import fuEvaluate from "../components/pages/auxiliaryMaterials/auxiliarySingle/fuEvaluate.vue";
// 辅材商家--账号管理
import fuAccount from "../components/pages/auxiliaryMaterials/auxiliarySingle/fuAccount.vue";
// 辅材商家--角色管理
import fuRole from "../components/pages/auxiliaryMaterials/auxiliarySingle/fuRole.vue";
// 辅材商家-财务报表（售出商品一览表）
import fuSellingGoods from "../components/pages/auxiliaryMaterials/auxiliaryFinance/fuSellingGoods.vue";
// 辅材商家-财务报表（售出商品一览表详情）
import fuGoodsDetail from "../components/pages/auxiliaryMaterials/auxiliaryFinance/fuGoodsDetail.vue";
// 辅材商家-财务报表（交易流水）
import fuTransactionFlow from "../components/pages/auxiliaryMaterials/auxiliaryFinance/fuTransactionFlow.vue";
// 辅材商家-财务报表（资产总览）
import fuProperty from "../components/pages/auxiliaryMaterials/auxiliaryFinance/fuProperty.vue";

//室内快修
import index from "../components/pages/kuaixiu/dingdan/index.vue";
//室内快修--首页
import shouye from "../components/pages/kuaixiu/shouye.vue";
//室内快修--发票
import kuaiXiuInvoice from "../components/pages/kuaixiu/kuaiXiuInvoice.vue";
//室内快修--账号管理
import kuaiXiuAccount from "../components/pages/kuaixiu/kuaiXiuAccount.vue";
//室内快修--角色管理
import kuaiXiuRole from "../components/pages/kuaixiu/kuaiXiuRole.vue";
//室内快修--客服列表
import QuickRepairKeFuList from "../components/pages/kuaixiu/QuickRepairKeFu/QuickRepairKeFuList";
//室内快修--客服历史会话
import QuickRepairKeFuHistory from "../components/pages/kuaixiu/QuickRepairKeFu/QuickRepairKeFuHistory";
//室内快修--员工管理
import yuangong from "../components/pages/kuaixiu/yuangong/yuangong.vue";
//室内快修--工种管理
import gongzhong from "../components/pages/kuaixiu/gongzhong/gongzhong.vue";
//室内快修--快修项目
import kxxm from "../components/pages/kuaixiu/kuaixiuxm/kxxm.vue";
//室内快修--维修工具1
import wxgj from "../components/pages/kuaixiu/weixiu/wxgj.vue"
//室内快修--工具分类
import gjfl from "../components/pages/kuaixiu/weixiu/gjfl.vue"
// 室内快修--订单（订单列表）
import ddlist from "../components/pages/kuaixiu/dingdan/ddlist.vue";
// 室内快修--订单（订单详情）
import ddxq from "../components/pages/kuaixiu/dingdan/ddxq.vue";
// 室内快修--订单（售后列表）
import kxsh from "../components/pages/kuaixiu/dingdan/kxsh.vue";
// 室内快修--订单（退款订单）
import kxtk from "../components/pages/kuaixiu/dingdan/kxtk.vue";
// 室内快修--订单（装修质保）
import fitment from "../components/pages/kuaixiu/dingdan/fitment.vue";
// 室内快修--评价（评价管理）
import guanli from "../components/pages/kuaixiu/pingjia/guanli.vue";
// 室内快修--评价（评价详情）
import xiangqing from "../components/pages/kuaixiu/pingjia/xiangqing.vue";
// 室内快修--财务（交易流水）
import jyls from "../components/pages/kuaixiu/caiwu/jyls.vue";
// 室内快修--财务（资产总览）
import zczl from "../components/pages/kuaixiu/caiwu/zczl.vue";
// 室内快修--财务（员工佣金提成）
import ygyjtc from "../components/pages/kuaixiu/caiwu/ygyjtc.vue";
// 室内快修--财务（财务汇总）
import kuaiXiuSummary from "../components/pages/kuaixiu/caiwu/kuaiXiuSummary.vue";


// =========房地产=========
// 客服列表
import realEstateKeFuList from "../components/pages/realEstate/realEstateKeFu/realEstateKeFuList";
// 历史会话
import realEstateKeFuHistory from "../components/pages/realEstate/realEstateKeFu/realEstateKeFuHistory";
// 配套设施
import supportingFacilities from "../components/pages/realEstate/supportingFacilities";
// 房源标签
import propertyTags from "../components/pages/realEstate/propertyTags";
import industryFormats from "../components/pages/realEstate/industryFormats";
// 房源管理--房源管理列表
import PropertyManagement from "../components/pages/realEstate/house/PropertyManagement";
// 房源管理--房源管理列表
import housingStatistics from "../components/pages/realEstate/housingStatistics";
// 房源管理--写字楼租赁
import officeBuildingLeasing from "../components/pages/realEstate/house/officeBuildingLeasing";
// 房源管理--商铺转让
import shopsTransfer from "../components/pages/realEstate/house/shopsTransfer";
// 房源管理--商铺租赁
import shopLeasing from "../components/pages/realEstate/house/shopLeasing";
// 营业执照
import businessLicense from "../components/pages/realEstate/businessLicense";
// 用户协议
import userAgreement from "../components/pages/realEstate/userAgreement";
// 隐私政策
import privacyPolicy from "../components/pages/realEstate/privacyPolicy";
// 问题反馈
import ProblemFeedback from "../components/pages/realEstate/ProblemFeedback";
// 评价标签
import evaluationTags from "../components/pages/realEstate/evaluationTags";
// 企业认证审核
import EnterpriseCertification from "../components/pages/realEstate/EnterpriseCertification";
// 个人认证审核
import personalAuthentication from "../components/pages/realEstate/personalAuthentication";
// 评价管理
import houseEvaluate from "../components/pages/realEstate/houseEvaluate";
// 房地产--账号管理
import houseAccount from "../components/pages/realEstate/houseAccount";
// 房地产--角色管理
import houseRole from "../components/pages/realEstate/houseRole";


// =========超市=========
import market from "@/components/pages/supermarket/market";
// 首页
import marketShouYe from "@/components/pages/supermarket/marketShouYe"
// 发票
import marketInvoice from "@/components/pages/supermarket/marketInvoice"
// 订单列表
import supermarketOrder from "@/components/pages/order/list/supermarketOrder";
// 客服列表
import supermarketKeFuList from "../components/pages/supermarket/supermarketKeFu/supermarketKeFuList";
// 客服历史会话
import supermarketKeFuHistory from "../components/pages/supermarket/supermarketKeFu/supermarketKeFuHistory";
// 售后申请
import supermarketAfterSales from "../components/pages/supermarket/supermarketOrder/supermarketAfterSales.vue";
// 退货单
import supermarketReturns from "../components/pages/supermarket/supermarketOrder/supermarketReturns.vue";
// 换货单
import supermarketExchange from "../components/pages/supermarket/supermarketOrder/supermarketExchange.vue";
// 退款单
import supermarketRefund from "../components/pages/supermarket/supermarketOrder/supermarketRefund.vue";
// 商品分类
import superclassification from "@/components/pages/supermarket/marketclassification"
// 商品管理
import markerManagement from "@/components/pages/supermarket/goodsManagement"
// 商品品牌
import marketBrand from "@/components/pages/supermarket/goodsBrand"
// 商品佣金
import marketMission from "@/components/pages/supermarket/goodscommission"
// 商品售出
import goodssell from "@/components/pages/supermarket/goodssell"
// 资产总览
import marketAssetOverview from "@/components/pages/supermarket/marketCaiWu/marketAssetOverview"
// 交易流水
import marketFlowerMoney from "@/components/pages/supermarket/marketCaiWu/marketFlowerMoney"
// 员工提成统计
import marketPercentage from "@/components/pages/supermarket/marketCaiWu/marketPercentage"
// 商品售出详情
import goodssellDetails from "@/components/pages/supermarket/goodssellDetails"
// 商品单位
import goodsUnit from "@/components/pages/supermarket/goodsUnit"
// 超市--账号
import marketAccount from "../components/pages/supermarket/marketAccount"
// 超市--角色
import marketRole from "../components/pages/supermarket/marketRole"


// #######22##超市#########
const routes = [

  {
    path: "/materilsLogin",
    component: materilsLogin,
    hide: true, //注解：当有此参数导航栏不会显示此按钮
    name: "登录1"
  },

  {
    path: "/Login",
    component: Login,
    hide: true, //注解：当有此参数导航栏不会显示此按钮
    name: "登录"
  },
  {
    path: "",
    component: Home,
    name: "平台首页",
    hide: true,
    children: [
      {
        path: "/FirstPage",
        name: "平台首页",
        component: FirstPage,
        icon: "el-icon-s-home",
      },
    ]
  },
  // {
  //   path: "/FirstPage",
  //   name: "平台首页",
  //   component: FirstPage,
  //   icon: "el-icon-s-home",
  // },
  {
    path: "",
    component: Home,
    name: "客服管理",
    icon: "el-icon-service",
    children: [
      {
        path: "/platform",
        name: "平台客服",
        component: platform
      },
      {
        path: "/historytalk",
        name: "历史会话",
        component: historytalk
      },
      // {
      //   path: "/character",
      //   name: "角色管理",
      //   component: character
      // },
      // {
      //   path: "/accountManagement",
      //   name: "账户管理",
      //   component: accountManagement
      // },

    ]
  },
  // {
  //   path: "",
  //   component: Home,
  //   name: "总首页",
  //   icon: "el-icon-s-home",
  //   children: [
  //     {
  //       path: "/FirstPage",
  //       name: "总首页",
  //       component: FirstPage
  //     }]
  // },
  {
    path: "",
    component: Home,
    name: "用户",
    icon: "el-icon-user-solid",
    children: [
      {
        path: "/userList",
        name: "用户列表",
        component: userList
      }
      // {
      //   path: '/members',
      //   name:'会员管理',
      //   component: members
      // },
      // {
      //   path: "/employee",
      //   name: "员工申请",
      //   component: employee
      // },
    ]
  },
  {
    path: "",
    component: Home,
    name: "分享中心",
    icon: "el-icon-connection",
    children: [
      {
        path: "/rankingCashback",
        component: rankingCashback,
        name: "排名返现"
      },
      {
        path: "/shareAnnouncement",
        component: shareAnnouncement,
        name: "分享公告"
      },
      {
        path: "/shareCashback",
        component: shareCashback,
        name: "分享返现"
      },
      {
        path: "/withdrawalRecords",
        component: withdrawalRecords,
        name: "提现记录"
      },
      {
        path: "/cashbackStatistics",
        component: cashbackStatistics,
        name: "返现统计"
      }
    ]
  },
  // {
  //   path: "",
  //   component: Home,
  //   name: "发票",
  //   icon: "el-icon-document",
  //   children: [
  //     {
  //       path: "/invoice",
  //       name: "发票",
  //       component: invoice
  //     }
  //   ]
  // },
  {
    path: "",
    component: Home,
    name: "平台推广",
    icon: "el-icon-s-flag",
    children: [
      {
        path: "/productPromotion",
        name: "商品推广",
        component: productPromotion
      }
    ]
  },
  {
    path: "",
    component: Home,
    name: "反馈建议",
    icon: "el-icon-info",
    children: [
      {
        name: "反馈建议",
        path: "/suggest",
        component: suggest
      }
    ]
  },

  {
    path: "",
    component: Home,
    name: "水站管理",
    icon: "el-icon-s-order",
    children: [
      {
        name: "水站首页",
        path: "/mains",
        component: mains
      },
      {
        path: "/invoice",
        name: "发票",
        component: invoice
      },
      {
        path: "/waterKeFu",
        name: "客服管理",
        component: Index,
        children: [
          {
            name: "客服列表",
            path: "/waterKeFuList",
            component: waterKeFuList
          },
          {
            name: "历史会话",
            path: "/waterKeFuHistory",
            component: waterKeFuHistory
          },
        ]
      },
      {
        path: "/QuestionList",
        component: Question,
        name: "商品",
        children: [
          {
            path: "/son/QuestionList",
            name: "商品管理",
            component: QuestionList
          },
          {
            path: "/son/goodSorts",
            name: "单位管理",
            component: goodSorts
          },

          {
            path: "/son/goodSort",
            name: "商品分类",
            component: goodSort
          },
          {
            path: "/son/goodsBrand",
            name: "商品品牌",
            component: goodsBrand
          },
          {
            path: "/son/inventory",
            name: "库存盘点",
            component: inventory
          }
        ]
      },
      {
        path: "/commodity",
        name: "员工",
        component: Question,
        children: [
          {
            name: "员工管理",
            path: "/commodity",
            component: commodity
          },
          {
            name: "员工评价",
            path: "/evaluate",
            component: evaluate
          },
          // {
          //   name: "员工评价",
          //   path: "/employeeDate",
          //   component: employeeDate
          // },
        ]
      },
      {
        path: "/orderList",
        component: Index,
        name: "订单管理",
        children: [
          {
            path: "/Index/OrderList",
            name: "订单列表",
            component: OrderList
          },
          {
            path: "/Index/shouhou",
            name: "售后申请",
            component: shouhou
          },
          {
            path: "/Index/backlog",
            name: "未处理订单",
            component: backlog,
            hide: true, //注解：当有此参数导航栏不会显示此按钮
          },
          {
            path: "/Index/returnGoods",
            name: "退货单",
            component: returnGoods
          },
          {
            path: "/Index/huanhuo",
            name: "换货单",
            component: huanhuo
          },
          {
            path: "/exitOrder",
            name: "退款单",
            component: exitOrder
          },
          {
            path: "/Index/orderData",
            name: "订单数据",
            component: orderData
          },
          // {
          //   path: "/Index/fitment",
          //   name: "装修质保",
          //   component: fitment
          // }
        ]
      },
      // {
      //   path: "OrderList",
      //   component: Index,
      //   name: "订单管理",
      //   children: [
      //     {
      //       path: "/Index/OrderList",
      //       name: "订单列表",
      //       component: OrderList
      //     },
      //     {
      //      path:"/Index/afterSales",
      //      name:'售后管理',
      //      component:afterSales
      //     }
      //   ]
      // },
      {
        path: "/management",
        component: tickets,
        name: "票务",
        children: [
          {
            path: "/serkey/management",
            name: "票务管理",
            component: management
          }
        ]
      },
      {
        path: "/customization",
        component: tickets,
        name: "定制水",
        children: [
          {
            path: "/serkey/customization",
            name: "定制LOGO水",
            component: customization
          },
          {
            path: "/serkey/orderForm",
            name: "定制LOGO水订单",
            component: orderForm
          }
        ]
      },
      {
        path: "/commission",
        name: "佣金管理",
        component: Question,
        children: [
          {
            name: "佣金提成管理",
            path: "/commission",
            component: commission
          }
        ]
      },
      {
        path: "/waterAccount",
        component: waterAccount,
        name: "账号管理"
      },
      {
        path: "/waterRole",
        component: waterRole,
        name: "角色管理"
      },
      {
        path: "/pushmoney",
        component: accounting,
        name: "财务",
        children: [
          {
            path: "/stn/pushmoney",
            name: "员工提成统计",
            component: pushmoney
          },
          {
            path: "/stn/business",
            name: "售票统计",
            component: business,
            hide: true, //注解：当有此参数导航栏不会显示此按钮
          },
          {
            path: "/stn/sellinggoods",
            name: "售出商品一览表",
            component: sellinggoods
          },
          {
            path: "/stn/goodsdetail",
            name: "售出商品一览表详情",
            component: goodsdetail,
            hide: true,
          },
          {
            path: "/stn/shuipiao",
            name: "售出票务一览表",
            component: shuipiao
          },
          {
            path: "/stn/shuipiaodetail",
            name: "售出票务一览表详情",
            component: shuipiaodetail,
            hide: true,
          },
          {
            path: "/stn/pledge",
            name: "空桶押金",
            component: pledge
          },
          {
            path: "/stn/moneyflow",
            name: "交易流水",
            component: moneyflow
          },
          {
            path: "/stn/waterAssetOverview",
            name: "资产总览",
            component: waterAssetOverview
          },
          {
            path: "/stn/waterSummary",
            name: "财务汇总",
            component: waterSummary
          },
          // {
          //   path: "/stn/tixian",
          //   name: "提现",
          //   component: tixian
          // }
        ]
      }
    ]
  },
  {
    path: "",
    component: Home,
    name: "超市",
    icon: "el-icon-shopping-bag-1",
    children: [
      {
        path: "/supermarketKeFu",
        component: index,
        name: "客服管理",
        children: [
          {
            path: "/supermarketKeFuList",
            name: "客服列表",
            component: supermarketKeFuList
          },
          {
            path: "/supermarketKeFuHistory",
            name: "历史会话",
            component: supermarketKeFuHistory
          }
        ]
      },

      {
        path: "/supermarketOrder",
        component: index,
        name: "订单管理",
        children: [
          {
            path: "/supermarketOrder",
            name: "订单列表",
            component: supermarketOrder
          },
          {
            path: "/supermarketAfterSales",
            name: "售后申请",
            component: supermarketAfterSales
          },
          {
            path: "/supermarketReturns",
            name: "退货单",
            component: supermarketReturns
          },
          {
            path: "/supermarketExchange",
            name: "换货单",
            component: supermarketExchange
          },
          {
            path: "/supermarketRefund",
            name: "退款单",
            component: supermarketRefund
          },
        ]
      },
      {
        path: "/marketShouYe",
        component: marketShouYe,
        name: "超市首页"
      },
      {
        path: "/marketInvoice",
        component: marketInvoice,
        name: "发票"
      },

      {
        path: "/markerManagement",
        component: markerManagement,
        name: "商品管理"
      },
      {
        path: "/superclassification",
        component: superclassification,
        name: "商品分类"
      },
      {
        path: "/marketBrand",
        component: marketBrand,
        name: "商品品牌"
      },
      {
        path: "/goodsUnit",
        component: goodsUnit,
        name: "商品单位"
      },
      {
        path: "/marketMission",
        component: marketMission,
        name: "佣金管理"
      },
      {
        path: "/goodssell",
        component: goodssell,
        name: "商品售出-预览"
      },
      {
        path: "/goodssellDetails",
        component: goodssellDetails,
        name: "商品售出-详情",
        hide: true
      },
      {
        path: "/marketAccount",
        component: marketAccount,
        name: "账号管理"
      },
      {
        path: "/marketRole",
        component: marketRole,
        name: "角色管理"
      },
      {
        path: "/marketPercentage",
        component: index,
        name: "财务",
        children: [
          {
            path: "/marketPercentage",
            component: marketPercentage,
            name: "员工提成统计"
          },
          {
            path: "/marketFlowerMoney",
            component: marketFlowerMoney,
            name: "交易流水"
          },
          {
            path: "/marketAssetOverview",
            component: marketAssetOverview,
            name: "资产总览"
          },]
      }

    ]
  },
  {
    path: "",
    component: Home,
    name: "建材管理",
    icon: "el-icon-s-shop",
    children: [
      {
        path: "/jianCaiMain",
        component: jianCaiMain,
        name: "建材首页",
      },
      {
        path: "/shaiXuan",
        component: shaiXuan,
        name: "筛选模板",
      },
      {
        path: "/carouselChart",
        component: carouselChart,
        name: "轮播图",
      },
      // {
      //   path: "/buildingMaterialsKeFu",
      //   component: questUser,
      //   name: "客服管理",
      //   children: [
      //     {
      //       path: "/list/buildingMaterialsKeFuList",
      //       name: "客服列表",
      //       component: buildingMaterialsKeFuList
      //     },
      //     {
      //       path: "/list/buildingMaterialsKeFuHistory",
      //       name: "历史会话",
      //       component: buildingMaterialsKeFuHistory
      //     }
      //   ]
      // },
      {
        path: "/principalUser",
        component: questUser,
        name: "订单管理",
        children: [
          {
            path: "/list/principalUser",
            name: "订单列表",
            component: principalUser
          },
          {
            path: "/list/reimburse",
            name: "售后管理",
            component: reimburse
          },
          {
            path: "/list/auxiliary",
            name: "手写下单",
            component: auxiliary
          },
          {
            path: "/list/refund",
            name: "样品拍照",
            component: refund
          }
        ]
      },
      {
        path: "/merchandise",
        component: questUser,
        name: "商品管理",
        children: [
          {
            path: "/list/merchandise",
            name: "辅材商品管理",
            component: merchandise
          },
          // {
          //   path: "/list/BrandPool",
          //   name: "商品分类",
          //   component: BrandPool
          // },
          {
            path: "/list/tuiGuang",
            name: "商品推广",
            component: tuiGuang
          }
        ]
      },
      {
        path: "/BrandPool",
        component: questUser,
        name: "商品品牌管理",
        children: [
          {
            path: "/list/BrandPool",
            name: "商品品牌池",
            component: BrandPool
          }
        ]
      },
      {
        path: "/building",
        component: questUser,
        name: "建材市场分类",
        children: [
          {
            path: "/list/building",
            name: "分类",
            component: building
          }
        ]
      },
      // {
      //   // freight
      //   path: "/freight",
      //   component: questUser,
      //   name: "运费管理",
      //   children: [
      //     {
      //       path: "/list/freight",
      //       name: "运费设置",
      //       component: freight
      //     }
      //   ]
      // },
      {
        path: "/merchant",
        component: questUser,
        name: "商家管理",
        children: [
          {
            path: "/list/merchant",
            name: "商家管理",
            component: merchant
          },
          // {
          //   path: "/list/subbranch",
          //   name: "分店管理",
          //   component: subbranch
          // }
        ]
      },
      {
        path: "/evaluation",
        component: questUser,
        name: "评价管理",
        children: [
          {
            path: "/list/evaluation",
            name: "商品评价",
            component: evaluation
          },
          {
            path: "/list/businessEvaluation",
            name: "商家评价",
            component: businessEvaluation
          }
        ]
      },
      // {
      //   path: "/accountManagement",
      //   component: questUser,
      //   name: "账号管理",
      //   children: [
      //     {
      //       path: "/accountManagement",
      //       name: "账号管理",
      //       component: accountManagement
      //     }
      //   ]
      // },
      // {
      //   path: "/character",
      //   component: questUser,
      //   name: "角色管理",
      //   children: [
      //     {
      //       path: "/character",
      //       name: "角色管理",
      //       component: character
      //     }
      //   ]
      // },
      {
        path: "/jianCaiMoney",
        component: questUser,
        name: "财务报表",
        children: [
          {
            path: "/jianCaiMoney/zhuCai",
            name: "主材商家",
            component: zhuCai,
          },
          {
            path: "/jianCaiMoney/fuCai",
            name: "辅材商家",
            component: fuCai,
          },
          {
            path: "/jianCaiMoney/wuJin",
            name: "五金店",
            component: wuJin,
          },
          {
            path: "/jianCaiMoney/chanPin",
            name: "产品定制",
            component: chanPin,
          },
          {
            path: "/jianCaiMoney/jianCaiJYLS",
            name: "交易流水",
            component: jianCaiJYLS
          },
          {
            path: "/jianCaiMoney/jianCaiZCZL",
            name: "资产总览",
            component: jianCaiZCZL,
          },
          {
            path: "/jianCaiMoney/jianCaiSummary",
            name: "财务汇总",
            component: jianCaiSummary,
          }
        ]
      }
    ]
  },
  {
    path: "",
    component: Home,
    name: "主材商家端",
    icon: "el-icon-s-cooperation",
    children: [
      {
        path: "/mainKeFu",
        name: "客服管理",
        component: index,
        children: [
          {
            path: "/mainKeFu",
            name: "客服列表",
            component: mainKeFu,
          },
          {
            path: "/mainHistory",
            name: "历史会话",
            component: mainHistory,
          },
          // {
          //   path: "/mainTimely",
          //   name: "及时会话",
          //   component: mainTimely,
          // },
        ]
      },
      {
        path: "/mainOrderList",
        name: "订单管理",
        component: index,
        children: [
          {
            path: "/mainOrderList",
            name: "订单列表",
            component: mainOrderList,
          },
          {
            path: "/mainAfterSales",
            name: "售后管理",
            component: mainAfterSales,
          },

        ]
      },
      {
        path: "/mainCommodity",
        name: "商品管理",
        component: mainCommodity,
        children: [
          {
            path: "/mainCommodity",
            name: "商品管理",
            component: mainCommodity,
          }
        ]
      },
      {
        path: "/mainStore",
        name: "店铺管理",
        component: mainStore,
        children: [
          {
            path: "/mainStore",
            name: "店铺管理",
            component: mainStore,
          }
        ]
      },
      {
        path: "/mainEvaluate",
        name: "评价管理",
        component: mainEvaluate,
        children: [
          {
            path: "/mainEvaluate",
            name: "评价管理",
            component: mainEvaluate,
          }
        ]
      },
      {
        path: "/mainAccount",
        name: "账号管理",
        component: mainAccount,
        children: [
          {
            path: "/mainAccount",
            name: "账号管理",
            component: mainAccount,
          }
        ]
      },
      {
        path: "/mainRole",
        name: "角色管理",
        component: mainRole,
        children: [
          {
            path: "/mainRole",
            name: "角色管理",
            component: mainRole,
          }
        ]
      },
      {
        path: "/mainSellingGoods",
        name: "财务报表",
        component: index,
        children: [
          {
            path: "/mainSellingGoods",
            name: "售出商品一览表",
            component: mainSellingGoods,
          },
          {
            path: "/mainGoodsDetail",
            name: "售出商品一览表详情",
            component: mainGoodsDetail,
            hide: true,
          },
          {
            path: "/mainTransaction",
            name: "交易流水",
            component: mainTransaction,
          },
          {
            path: "/mainProperty",
            name: "资产总览",
            component: mainProperty,
          },


        ]
      }

    ]
  },
  {
    path: "",
    component: Home,
    name: "辅材商家端",
    icon: "el-icon-s-goods",
    children: [
      {
        path: "/fuKeFu",
        name: "客服管理",
        component: index,
        children: [
          {
            path: "/fuKeFu",
            name: "客服列表",
            component: fuKeFu,
          },
          {
            path: "/fuHistory",
            name: "历史会话",
            component: fuHistory,
          }
        ]
      },
      {
        path: "/fuOrderList",
        name: "订单管理",
        component: index,
        children: [
          {
            path: "/fuOrderList",
            name: "订单列表",
            component: fuOrderList,
          },
          {
            path: "/fuAfterSales",
            name: "售后管理",
            component: fuAfterSales,
          },
          {
            path: "/fuPhoto",
            name: "样品拍照",
            component: fuPhoto,
          },
          {
            path: "/fuHandWriting",
            name: "手写下单",
            component: fuHandWriting,
          }
        ]
      },
      {
        path: "/fuShop",
        name: "店铺管理",
        component: index,
        children: [
          {
            path: "/fuShop",
            name: "店铺管理",
            component: fuShop,
          }
        ]
      },
      {
        path: "/fuEvaluate",
        name: "评价管理",
        component: fuEvaluate,
        children: [
          {
            path: "/fuEvaluate",
            name: "评价管理",
            component: fuEvaluate,
          }
        ]
      },
      {
        path: "/fuAccount",
        name: "账号管理",
        component: fuAccount,
        children: [
          {
            path: "/fuAccount",
            name: "账号管理",
            component: fuAccount,
          }
        ]
      },
      {
        path: "/fuRole",
        name: "角色管理",
        component: fuRole,
        children: [
          {
            path: "/fuRole",
            name: "角色管理",
            component: fuRole,
          }
        ]
      },
      {
        path: "/fuSellingGoods",
        name: "财务报表",
        component: index,
        children: [
          {
            path: "/fuSellingGoods",
            name: "售出商品一览表",
            component: fuSellingGoods,
          },
          {
            path: "/fuGoodsDetail",
            name: "售出商品一览表详情",
            component: fuGoodsDetail,
            hide: true,
          },
          {
            path: "/fuTransactionFlow",
            name: "交易流水",
            component: fuTransactionFlow,
          },
          {
            path: "/fuProperty",
            name: "资产总览",
            component: fuProperty,
          },

        ]
      }

    ]
  },
  {
    path: "",
    component: Home,
    name: "产品定制",
    icon: "el-icon-s-ticket",
    children: [
      {
        path: "/productKeFu",
        name: "客服管理",
        component: index,
        children: [
          {
            path: "/productKeFu",
            name: "客服列表",
            component: productKeFu,
          },
          {
            path: "/productHistory",
            name: "历史会话",
            component: productHistory,
          },
          // {
          //   path: "/productTimely",
          //   name: "及时会话",
          //   component: productTimely,
          // },
        ]
      },
      {
        path: "/productOrderList",
        name: "订单管理",
        component: index,
        children: [
          {
            path: "/productOrderList",
            name: "订单列表",
            component: productOrderList,
          },
          {
            path: "/productAfterSales",
            name: "售后管理",
            component: productAfterSales,
          },

        ]
      },
      {
        path: "/productCommodity",
        name: "商品管理",
        component: productCommodity,
        children: [
          {
            path: "/productCommodity",
            name: "商品管理",
            component: productCommodity,
          }
        ]
      },
      {
        path: "/productStore",
        name: "店铺管理",
        component: productStore,
        children: [
          {
            path: "/productStore",
            name: "店铺管理",
            component: productStore,
          }
        ]
      },
      {
        path: "/productEvaluate",
        name: "评价管理",
        component: productEvaluate,
        children: [
          {
            path: "/productEvaluate",
            name: "评价管理",
            component: productEvaluate,
          }
        ]
      },
      {
        path: "/productAccount",
        name: "账号管理",
        component: productAccount,
        children: [
          {
            path: "/productAccount",
            name: "账号管理",
            component: productAccount,
          }
        ]
      },
      {
        path: "/productRole",
        name: "角色管理",
        component: productRole,
        children: [
          {
            path: "/productRole",
            name: "角色管理",
            component: productRole,
          }
        ]
      },
      {
        path: "/productSellingGoods",
        name: "财务报表",
        component: index,
        children: [
          {
            path: "/productSellingGoods",
            name: "售出商品一览表",
            component: productSellingGoods,
          },
          {
            path: "/productTransaction",
            name: "交易流水",
            component: productTransaction,
          },
          {
            path: "/productProperty",
            name: "资产总览",
            component: productProperty,
          },

        ]
      }

    ]
  },
  {
    path: "",
    component: Home,
    name: "五金店",
    icon: "el-icon-attract",
    children: [
      {
        path: "/hardwareKeFu",
        name: "客服管理",
        component: index,
        children: [
          {
            path: "/hardwareKeFu",
            name: "客服列表",
            component: hardwareKeFu,
          },
          {
            path: "/hardwareHistory",
            name: "历史会话",
            component: hardwareHistory,
          },
          // {
          //   path: "/hardwareTimely",
          //   name: "及时会话",
          //   component: hardwareTimely,
          // },
        ]
      },
      {
        path: "/hardwareOrderList",
        name: "订单管理",
        component: index,
        children: [
          {
            path: "/hardwareOrderList",
            name: "订单列表",
            component: hardwareOrderList,
          },
          {
            path: "/hardwareAfterSales",
            name: "售后管理",
            component: hardwareAfterSales,
          },

        ]
      },
      {
        path: "/hardwareCommodity",
        name: "商品管理",
        component: hardwareCommodity,
        children: [
          {
            path: "/hardwareCommodity",
            name: "商品管理",
            component: hardwareCommodity,
          }
        ]
      },
      {
        path: "/hardwareStore",
        name: "店铺管理",
        component: hardwareStore,
        children: [
          {
            path: "/hardwareStore",
            name: "店铺管理",
            component: hardwareStore,
          }
        ]
      },
      {
        path: "/hardwareEvaluate",
        name: "评价管理",
        component: hardwareEvaluate,
        children: [
          {
            path: "/hardwareEvaluate",
            name: "评价管理",
            component: hardwareEvaluate,
          }
        ]
      },
      {
        path: "/hardwareAccount",
        name: "账号管理",
        component: hardwareAccount,
        children: [
          {
            path: "/hardwareAccount",
            name: "账号管理",
            component: hardwareAccount,
          }
        ]
      },
      {
        path: "/hardwareRole",
        name: "角色管理",
        component: hardwareRole,
        children: [
          {
            path: "/hardwareRole",
            name: "角色管理",
            component: hardwareRole,
          }
        ]
      },
      {
        path: "/hardwareSellingGoods",
        name: "财务报表",
        component: index,
        children: [
          {
            path: "/hardwareSellingGoods",
            name: "售出商品一览表",
            component: hardwareSellingGoods,
          },
          {
            path: "/hardwareGoodsDetail",
            name: "售出商品一览表详情",
            component: hardwareGoodsDetail,
            hide: true,
          },
          {
            path: "/hardwareTransaction",
            name: "交易流水",
            component: hardwareTransaction,
          },
          {
            path: "/hardwareProperty",
            name: "资产总览",
            component: hardwareProperty,
          },
        ]
      }

    ]
  },
  {
    path: "",
    component: Home,
    name: "工长套餐",
    icon: "el-icon-s-custom",
    children: [
      {
        path: "/foremanSet",
        component: foremanSet,
        name: "工长套餐"
      },
      {
        path: "/foremanMoney",
        component: foremanMoney,
        name: "财务报表"
      },
    ]
  },
  {
    path: "",
    component: Home,
    name: "室内快修",
    icon: "el-icon-s-open",
    children: [
      {
        path: "/shouye",
        name: "快修首页",
        component: shouye
      },
      {
        path: "/kuaiXiuInvoice",
        name: "发票",
        component: kuaiXiuInvoice
      },
      {
        path: "/kuaiXiuAccount",
        name: "账号管理",
        component: kuaiXiuAccount
      },
      {
        path: "/kuaiXiuRole",
        name: "角色管理",
        component: kuaiXiuRole
      },
      {
        path: "/QuickRepairKeFu",
        name: "客服管理",
        component: index,
        children: [
          {
            path: "/QuickRepairKeFu/QuickRepairKeFuList",
            name: "客服列表",
            component: QuickRepairKeFuList
          },
          {
            path: "/QuickRepairKeFu/QuickRepairKeFuHistory",
            name: "历史会话",
            component: QuickRepairKeFuHistory
          }
        ]
      },
      {
        path: "/yuangong",
        name: "员工管理",
        component: yuangong,
        children: [
          {
            path: "/yuangong/yuangong",
            name: "员工管理",
            component: yuangong
          }
        ]
      },
      {
        path: "/gongzhong",
        name: "工种管理",
        component: gongzhong,
        children: [
          {
            path: "/gongzhong/gongzhong",
            name: "工种管理",
            component: gongzhong
          }
        ]
      },
      {
        path: "/kuaixiuxm",
        name: "快修项目",
        component: kxxm,
        children: [
          {
            path: "/kuaixiuxm/kxxm",
            name: "快修项目",
            component: kxxm
          }
        ]
      },
      {
        path: "/weixiu",
        name: "工具管理",
        component: index,
        children: [
          {
            path: "/weixiu/gjfl",
            name: "工具分类",
            component: gjfl
          },
          {
            path: "/weixiu/wxgj",
            name: "维修工具",
            component: wxgj
          }
        ]
      },
      {
        path: "/dingdan",
        component: index,
        name: "订单管理",
        children: [
          {
            path: "/dingdan/yhxd",
            name: "订单列表",
            component: ddlist
          },
          {
            path: "/dingdan/ddxq",
            name: "订单详情",
            component: ddxq,
            hide: true
          },
          {
            path: "/dingdan/kxsh",
            name: "售后列表",
            component: kxsh
          },
          {
            path: "/dingdan/kxtk",
            name: "退款列表",
            component: kxtk,
          },
          {
            path: "/dingdan/fitment",
            name: "装修质保",
            component: fitment
          }
        ]
      },
      {
        path: "/pingjia",
        component: index,
        name: "评价管理",
        children: [
          {
            path: "/pingjia/guanli",
            name: "评价管理",
            component: guanli
          },
          {
            path: "/pingjia/xiangqing",
            name: "评价管理详情",
            component: xiangqing,
            hide: true
          }
        ]
      },
      {
        path: "/caiwu",
        component: index,
        name: "财务",
        children: [
          {
            path: "/caiwu/jyls",
            name: "交易流水",
            component: jyls
          },
          {
            path: "/caiwu/zczl",
            name: "资产总览",
            component: zczl
          },
          {
            path: "/caiwu/ygyjtc",
            name: "员工佣金提成",
            component: ygyjtc
          },
          {
            path: "/caiwu/kuaiXiuSummary",
            name: "财务汇总",
            component: kuaiXiuSummary
          }
        ]
      },
    ]
  },
  {
    path: "",
    component: Home,
    name: "房地产",
    icon: "el-icon-office-building",
    children: [
      {
        path: "/realEstateKeFu",
        component: index,
        name: "客服管理",
        children: [
          {
            path: "/realEstateKeFu/realEstateKeFuList",
            name: "客服列表",
            component: realEstateKeFuList
          },
          {
            path: "/realEstateKeFu/realEstateKeFuHistory",
            name: "历史会话",
            component: realEstateKeFuHistory
          }
        ]
      },
      // {
      //   path: "/supportingFacilities",
      //   component: supportingFacilities,
      //   name: "配套设施"
      // },
      {
        path: "/propertyTags",
        component: propertyTags,
        name: "房源标签"
      },
      {
        path: "/industryFormats",
        component: industryFormats,
        name: "行业业态"
      },
      {
        path: "/house/PropertyManagement",
        component: PropertyManagement,
        name: "房源管理"
      },
      {
        path: "/housingStatistics",
        component: housingStatistics,
        name: "房源统计"
      },
      // {
      //   path: "/house",
      //   component: index,
      //   name: "房源管理",
      //   children: [
      //     {
      //       path: "/house/PropertyManagement",
      //       component: PropertyManagement,
      //       name: "房源管理"
      //     },
      //     // {
      //     //   path: "/house/officeBuildingLeasing",
      //     //   component: officeBuildingLeasing,
      //     //   name: "写字楼租赁"
      //     // },
      //     // {
      //     //   path: "/house/shopLeasing",
      //     //   component: shopLeasing,
      //     //   name: "商铺租赁"
      //     // },
      //     // {
      //     //   path: "/house/shopsTransfer",
      //     //   component: shopsTransfer,
      //     //   name: "商铺转让"
      //     // },
      //   ]
      // },
      {
        path: "/businessLicense",
        component: businessLicense,
        name: "营业执照"
      },

      // {
      //   path: "/userAgreement",
      //   component: userAgreement,
      //   name: "用户协议"
      // },
      // {
      //   path: "/privacyPolicy",
      //   component: privacyPolicy,
      //   name: "隐私政策"
      // },
      {
        path: "/ProblemFeedback",
        component: ProblemFeedback,
        name: "问题反馈",
      },
      {
        path: "/evaluationTags",
        component: evaluationTags,
        name: "服务标签",
      },
      {
        path: "/EnterpriseCertification",
        component: EnterpriseCertification,
        name: "企业认证审核"
      },
      {
        path: "/personalAuthentication",
        component: personalAuthentication,
        name: "个人认证审核",
      },
      {
        path: "/houseEvaluate",
        component: houseEvaluate,
        name: "评价管理",
      },
      {
        path: "/houseAccount",
        component: houseAccount,
        name: "账号管理",
      },
      {
        path: "/houseRole",
        component: houseRole,
        name: "角色管理",
      },
    ]
  },
  {
    path: "",
    component: Home,
    name: "财务报表",
    // icon: "iconfont icon-caiwubaobiao",
    icon: "el-icon-s-claim",
    children: [
      {
        path: "/financialSummary",
        component: financialSummary,
        name: "财务汇总"
      },
      // {
      //   path: "/baseImg",
      //   component: baseImg,
      //   name: "压缩图片"
      // },
      {
        path: "/merchantCommission",
        component: merchantCommission,
        name: "商家抽成"
      },
      {
        path: "/userConsumptionStatistics",
        component: userConsumptionStatistics,
        name: "用户消费统计"
      },
    ]
  },

  {
    path: "",
    component: Home,
    name: "设置",
    icon: "el-icon-s-tools",
    children: [
      {
        path: "/xitongshezhi",
        name: "系统设置",
        component: xitongshezhi
      },
      {
        path: "/menu",
        name: "菜单管理",
        component: menu
      },
      {
        path: "/zhangHao",
        name: "账号管理",
        component: zhangHao
      },
      // {
      //   path: "/Administrator",
      //   name: "管理员管理",
      //   component: Administrator
      // },
      {
        path: "/roleList",
        name: "角色列表",
        component: roleList
      },
      {
        path: "/announcementList",
        name: "公告列表",
        component: announcementList
      }
    ]
  }
];


export default [...routes];
